// Copyright (c) Kona Framework Team. All rights reserved.
// For continued development and updates, visit http://www.codeplex.com/kona
// For a copy of the license please vist: http://www.codeplex.com/kona/license

namespace Kona.Data.Core
{
    public interface IPool<T>
    {
        int Size { get; }
        int MaxPoolSize { get; }
        IObjectFactory<T> ObjectFactory { get;  }
        T GetObject();
        void ReleaseObject(T poolObject);
    }
}